package io.linfeng.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author linfeng
 * @email 2445465217@qq.com
 * @date 2022-01-25 18:51:22
 */
@Data
@ApiModel(value="AppChildrenCommentResponse", description="子评论内容响应体")
public class AppChildrenCommentResponse implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@ApiModelProperty(value = "ID")
	private Long id;
	/**
	 * 父级id
	 */
	@ApiModelProperty(value = "父级id")
	private Integer pid;
	/**
	 * 评论类型:1帖子
	 */
	@ApiModelProperty(value = "评论类型:1帖子")
	private Integer type;
	/**
	 * 评论作者ID
	 */
	@ApiModelProperty(value = "评论作者ID")
	private Long uid;
	/**
	 * 被回复用户ID
	 */
	@ApiModelProperty(value = "被回复用户ID")
	private Integer toUid;
	/**
	 * 评论帖子ID
	 */
	@ApiModelProperty(value = "评论帖子ID")
	private Long postId;
	/**
	 * 评论内容
	 */
	@ApiModelProperty(value = "评论内容")
	private String content;
	/**
	 * 评论状态
	 */
	@ApiModelProperty(value = "评论状态")
	private Integer status;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	/**
     * 被回复用户信息
	 */
	@ApiModelProperty(value = "被回复用户信息")
	private AppUserShortInfoResponse toUser;

	/**
	 * 评论用户信息
	 */
	@ApiModelProperty(value = "评论用户信息")
	private AppUserShortInfoResponse userInfo;

	/**
	 * 点赞数
	 */
	@ApiModelProperty(value = "点赞数")
	private Integer thumbs;

	/**
	 * 评论是否点赞
	 */
	@ApiModelProperty(value = "评论是否点赞")
	private Boolean isThumbs;
}
